<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title>Camera</ion-title>
  </ion-navbar>
</ion-header>

<ion-content>

  <div class="g-p-l-15 g-m-r-15 g-m-t-15">
    <button ion-button block (click)="getPicture()">
      打开相机
    </button>
    <button ion-button block (click)="getPictureSave()">
      打开相机（本地储存）
    </button>
    <button ion-button block (click)="getPhotoLibrary()">
      打开相册
    </button>
    <button ion-button block (click)="getPictureSelf()">
      自拍
    </button>
  </div>

  <ion-card *ngIf="image">
    <ion-card-header>获取到的图片</ion-card-header>
    <ion-card-content><img [src]="image" class="g-events-none"></ion-card-content>
  </ion-card>

</ion-content>

